package com.usooft.metaTalent.core.platform.mapper;

import com.usooft.metaTalent.core.platform.entity.Video;
import com.usooft.metaTalent.core.platform.query.VideoQuery;
import com.usooft.metaTalent.core.platform.wrapper.VideoWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface VideoMapper {
    int add(Video video);

    int update(Video video);

    int delete(Video video);

    Video get(Long id);

    List<VideoWrapper> list(VideoQuery query);

    int count(@Param("filter") VideoQuery.Filter filter);
}
